import {createApp} from 'vue'
import App from './App.vue'
import {router} from './router'
import {Step, Steps, Form, Input, Button,Alert} from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css';
import {http} from '@/http/axios'
import {AxiosInstance} from "axios";

declare module "@vue/runtime-core" {
  interface ComponentCustomProperties {
    $http: AxiosInstance;
  }
}

const app = createApp(App);
app.config.globalProperties.$http = http
app.use(Steps)
app.use(Step)
app.use(Form)
app.use(Input)
app.use(Button)
app.use(Alert)
app.use(router).mount('#app')
